<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>TP2-Partie1Dictionnaire: Référence du fichier DictionnaireTesteurDeux.cpp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TP2-Partie1Dictionnaire
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_dictionnaire_testeur_deux_8cpp.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier DictionnaireTesteurDeux.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;gtest/gtest.h&gt;</code><br/>
<code>#include &lt;iostream&gt;</code><br/>
<code>#include &lt;fstream&gt;</code><br/>
<code>#include &quot;<a class="el" href="_dictionnaire_8h_source.html">Dictionnaire.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de DictionnaireTesteurDeux.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp__incl.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp" id="_dictionnaire_testeur_deux_8cpp">
</map>
</div>
</div>
<p><a href="_dictionnaire_testeur_deux_8cpp_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a17856d057b6b712889a1359add05ccfb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a17856d057b6b712889a1359add05ccfb">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_motsIdentiquesEgal1)</td></tr>
<tr class="separator:a17856d057b6b712889a1359add05ccfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac59d09b1c804bd0952d9b84d84f01557"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#ac59d09b1c804bd0952d9b84d84f01557">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_mots1LettreCompletementDifferents)</td></tr>
<tr class="separator:ac59d09b1c804bd0952d9b84d84f01557"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a817a43fe694d461badce9bbb9222e051"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a817a43fe694d461badce9bbb9222e051">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_motsLongsImpairsCompletementDifferentsEgal0)</td></tr>
<tr class="separator:a817a43fe694d461badce9bbb9222e051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab77194cb0893fd08425c4f9ad918358a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#ab77194cb0893fd08425c4f9ad918358a">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_mots1LettreIdentiquesEgal1)</td></tr>
<tr class="separator:ab77194cb0893fd08425c4f9ad918358a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5b727326fa0c6ecae975f0e003f6d37"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#aa5b727326fa0c6ecae975f0e003f6d37">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_motsLettresPairsPartiellementDifferentPasEgal0ou1)</td></tr>
<tr class="separator:aa5b727326fa0c6ecae975f0e003f6d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24859e8beff8637e2d70a04872c8c694"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a24859e8beff8637e2d70a04872c8c694">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_motsLettresImpairsPartiellementDifferentPasEgal0ou1)</td></tr>
<tr class="separator:a24859e8beff8637e2d70a04872c8c694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76c3668e2541ba0f4a418ebacad29592"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a76c3668e2541ba0f4a418ebacad29592">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_motsLongueurInegalesPartiellementDifferentPasEgal0ou1)</td></tr>
<tr class="separator:a76c3668e2541ba0f4a418ebacad29592"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a136f43daaebf9e38a9c3aea06067ef29"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a136f43daaebf9e38a9c3aea06067ef29">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, similitude_premiereLettreDifferentePasEgal1)</td></tr>
<tr class="separator:a136f43daaebf9e38a9c3aea06067ef29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8197e6eb5f20cbe83d9df5956f182ca3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a8197e6eb5f20cbe83d9df5956f182ca3">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, suggereCorrections_aNEstPasUneSuggestion)</td></tr>
<tr class="separator:a8197e6eb5f20cbe83d9df5956f182ca3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47e7feebfb1425daa14fbd711f1fc54a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a47e7feebfb1425daa14fbd711f1fc54a">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, traduit_motEstDansLeDictionnaire_uneTraduction)</td></tr>
<tr class="separator:a47e7feebfb1425daa14fbd711f1fc54a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c97764f3ff722725d4abd420bf31e84"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a0c97764f3ff722725d4abd420bf31e84">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, traduit_motEstDansLeDictionnaire_deuxTraductions)</td></tr>
<tr class="separator:a0c97764f3ff722725d4abd420bf31e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5549d8958d27b3148de3f9a50686e17b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a5549d8958d27b3148de3f9a50686e17b">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, traduit_motEstDansLeDictionnaire_PlusieursMotsDansLeDictionnaire_uneTraductions)</td></tr>
<tr class="separator:a5549d8958d27b3148de3f9a50686e17b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62583bd3d72f3ea12c7763abccaea7cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a62583bd3d72f3ea12c7763abccaea7cd">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, traduit_motNestPasDansLeDictionnaire_DictionnaireVide_vecteurVide)</td></tr>
<tr class="separator:a62583bd3d72f3ea12c7763abccaea7cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7921c7490903163f5dd1fd151492bc82"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a7921c7490903163f5dd1fd151492bc82">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, traduit_motNestPasDansLeDictionnaire_DictionnaireAvecElements_vecteurVide)</td></tr>
<tr class="separator:a7921c7490903163f5dd1fd151492bc82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48c74678a712c7ca618c4772228d454f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html#a48c74678a712c7ca618c4772228d454f">TEST</a> (<a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>, traductionDuDictionnaireInitialise)</td></tr>
<tr class="separator:a48c74678a712c7ca618c4772228d454f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Documentation des fonctions</h2>
<a class="anchor" id="a17856d057b6b712889a1359add05ccfb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_motsIdentiquesEgal1&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00017">17</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;{</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;allo&quot;</span>;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;allo&quot;</span>;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    ASSERT_EQ(1,d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a17856d057b6b712889a1359add05ccfb_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a17856d057b6b712889a1359add05ccfb_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a17856d057b6b712889a1359add05ccfb_cgraph" id="_dictionnaire_testeur_deux_8cpp_a17856d057b6b712889a1359add05ccfb_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac59d09b1c804bd0952d9b84d84f01557"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_mots1LettreCompletementDifferents&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00025">25</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;{</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;a&quot;</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;b&quot;</span>;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    ASSERT_EQ(0.25,d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_ac59d09b1c804bd0952d9b84d84f01557_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_ac59d09b1c804bd0952d9b84d84f01557_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_ac59d09b1c804bd0952d9b84d84f01557_cgraph" id="_dictionnaire_testeur_deux_8cpp_ac59d09b1c804bd0952d9b84d84f01557_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a817a43fe694d461badce9bbb9222e051"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_motsLongsImpairsCompletementDifferentsEgal0&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00034">34</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;yyy&quot;</span>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;aaa&quot;</span>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    ASSERT_EQ(0,d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a817a43fe694d461badce9bbb9222e051_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a817a43fe694d461badce9bbb9222e051_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a817a43fe694d461badce9bbb9222e051_cgraph" id="_dictionnaire_testeur_deux_8cpp_a817a43fe694d461badce9bbb9222e051_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab77194cb0893fd08425c4f9ad918358a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_mots1LettreIdentiquesEgal1&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00042">42</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;a&quot;</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;a&quot;</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    ASSERT_EQ(1,d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_ab77194cb0893fd08425c4f9ad918358a_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_ab77194cb0893fd08425c4f9ad918358a_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_ab77194cb0893fd08425c4f9ad918358a_cgraph" id="_dictionnaire_testeur_deux_8cpp_ab77194cb0893fd08425c4f9ad918358a_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa5b727326fa0c6ecae975f0e003f6d37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_motsLettresPairsPartiellementDifferentPasEgal0ou1&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00050">50</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;{</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;aaaa&quot;</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;aaba&quot;</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    cout&lt;&lt;d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2)&lt;&lt;endl;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    ASSERT_FALSE(1==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    ASSERT_FALSE(0==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_aa5b727326fa0c6ecae975f0e003f6d37_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_aa5b727326fa0c6ecae975f0e003f6d37_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_aa5b727326fa0c6ecae975f0e003f6d37_cgraph" id="_dictionnaire_testeur_deux_8cpp_aa5b727326fa0c6ecae975f0e003f6d37_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a24859e8beff8637e2d70a04872c8c694"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_motsLettresImpairsPartiellementDifferentPasEgal0ou1&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00060">60</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;aaabb&quot;</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;aabaa&quot;</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    cout&lt;&lt;d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2)&lt;&lt;endl;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    ASSERT_FALSE(1==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    ASSERT_FALSE(0==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a24859e8beff8637e2d70a04872c8c694_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a24859e8beff8637e2d70a04872c8c694_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a24859e8beff8637e2d70a04872c8c694_cgraph" id="_dictionnaire_testeur_deux_8cpp_a24859e8beff8637e2d70a04872c8c694_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a76c3668e2541ba0f4a418ebacad29592"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_motsLongueurInegalesPartiellementDifferentPasEgal0ou1&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00070">70</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;aaabb&quot;</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;aabaab&quot;</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    cout&lt;&lt;d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2)&lt;&lt;endl;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    ASSERT_FALSE(1==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    ASSERT_FALSE(0==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a76c3668e2541ba0f4a418ebacad29592_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a76c3668e2541ba0f4a418ebacad29592_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a76c3668e2541ba0f4a418ebacad29592_cgraph" id="_dictionnaire_testeur_deux_8cpp_a76c3668e2541ba0f4a418ebacad29592_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a136f43daaebf9e38a9c3aea06067ef29"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">similitude_premiereLettreDifferentePasEgal1&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00080">80</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00185">TP2P1::Dictionnaire::similitude()</a>.</p>
<div class="fragment"><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    std::string mot1 = <span class="stringliteral">&quot;aaabb&quot;</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    std::string mot2 = <span class="stringliteral">&quot;baabb&quot;</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    cout&lt;&lt;d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2)&lt;&lt;endl;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    ASSERT_FALSE(1==d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">similitude</a>(mot1,mot2));</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a4cd52bdf5bfaaea2eb7c814bd96ba8c8"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a4cd52bdf5bfaaea2eb7c814bd96ba8c8">TP2P1::Dictionnaire::similitude</a></div><div class="ttdeci">double similitude(const std::string &amp;mot1, const std::string &amp;mot2)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00185">Dictionnaire.cpp:185</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a136f43daaebf9e38a9c3aea06067ef29_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a136f43daaebf9e38a9c3aea06067ef29_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a136f43daaebf9e38a9c3aea06067ef29_cgraph" id="_dictionnaire_testeur_deux_8cpp_a136f43daaebf9e38a9c3aea06067ef29_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8197e6eb5f20cbe83d9df5956f182ca3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">suggereCorrections_aNEstPasUneSuggestion&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00089">89</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00121">TP2P1::Dictionnaire::ajouteMot()</a>, et <a class="el" href="_dictionnaire_8cpp_source.html#l00337">TP2P1::Dictionnaire::suggereCorrections()</a>.</p>
<div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;{</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;english&quot;</span>, <span class="stringliteral">&quot;anglais&quot;</span>);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisa&quot;</span>, <span class="stringliteral">&quot;anglaia&quot;</span>);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisb&quot;</span>, <span class="stringliteral">&quot;anglaib&quot;</span>);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisc&quot;</span>, <span class="stringliteral">&quot;anglaic&quot;</span>);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisd&quot;</span>, <span class="stringliteral">&quot;anglaid&quot;</span>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englise&quot;</span>, <span class="stringliteral">&quot;anglaie&quot;</span>);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisf&quot;</span>, <span class="stringliteral">&quot;anglaif&quot;</span>);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisg&quot;</span>, <span class="stringliteral">&quot;anglaig&quot;</span>);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisi&quot;</span>, <span class="stringliteral">&quot;anglaih&quot;</span>);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;englisk&quot;</span>, <span class="stringliteral">&quot;anglaii&quot;</span>);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;a&quot;</span>, <span class="stringliteral">&quot;tomate&quot;</span>);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    std::vector&lt;std::string&gt; suggestions = d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#aecfb98d1a69ab5a3adb9e6e649d46b9d">suggereCorrections</a>(<span class="stringliteral">&quot;englisz&quot;</span>);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordflow">for</span>(std::vector&lt;std::string&gt;::iterator it = suggestions.begin() ; it!=suggestions.end() ; it++)</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        ASSERT_FALSE(*it==<span class="stringliteral">&quot;a&quot;</span>);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    }</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_aecfb98d1a69ab5a3adb9e6e649d46b9d"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#aecfb98d1a69ab5a3adb9e6e649d46b9d">TP2P1::Dictionnaire::suggereCorrections</a></div><div class="ttdeci">std::vector&lt; std::string &gt; suggereCorrections(const std::string &amp;motMalEcrit)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00337">Dictionnaire.cpp:337</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a2fe841290d727a217fb884825bb736b7"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">TP2P1::Dictionnaire::ajouteMot</a></div><div class="ttdeci">void ajouteMot(const std::string &amp;motOriginal, const std::string &amp;motTraduit)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00121">Dictionnaire.cpp:121</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a8197e6eb5f20cbe83d9df5956f182ca3_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a8197e6eb5f20cbe83d9df5956f182ca3_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a8197e6eb5f20cbe83d9df5956f182ca3_cgraph" id="_dictionnaire_testeur_deux_8cpp_a8197e6eb5f20cbe83d9df5956f182ca3_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a47e7feebfb1425daa14fbd711f1fc54a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">traduit_motEstDansLeDictionnaire_uneTraduction&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00110">110</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00121">TP2P1::Dictionnaire::ajouteMot()</a>, et <a class="el" href="_dictionnaire_8cpp_source.html#l00283">TP2P1::Dictionnaire::traduit()</a>.</p>
<div class="fragment"><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;english&quot;</span>,<span class="stringliteral">&quot;anglais&quot;</span>);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    std::vector&lt;std::string&gt; traductions = d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">traduit</a>(<span class="stringliteral">&quot;english&quot;</span>);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    ASSERT_TRUE(1==traductions.size());</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    ASSERT_TRUE(traductions[0]==<span class="stringliteral">&quot;anglais&quot;</span>);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a0912cee29c757ad7ea3456c7ea6d3a0e"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">TP2P1::Dictionnaire::traduit</a></div><div class="ttdeci">std::vector&lt; std::string &gt; traduit(const std::string &amp;mot)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00283">Dictionnaire.cpp:283</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a2fe841290d727a217fb884825bb736b7"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">TP2P1::Dictionnaire::ajouteMot</a></div><div class="ttdeci">void ajouteMot(const std::string &amp;motOriginal, const std::string &amp;motTraduit)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00121">Dictionnaire.cpp:121</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a47e7feebfb1425daa14fbd711f1fc54a_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a47e7feebfb1425daa14fbd711f1fc54a_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a47e7feebfb1425daa14fbd711f1fc54a_cgraph" id="_dictionnaire_testeur_deux_8cpp_a47e7feebfb1425daa14fbd711f1fc54a_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0c97764f3ff722725d4abd420bf31e84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">traduit_motEstDansLeDictionnaire_deuxTraductions&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00119">119</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00121">TP2P1::Dictionnaire::ajouteMot()</a>, et <a class="el" href="_dictionnaire_8cpp_source.html#l00283">TP2P1::Dictionnaire::traduit()</a>.</p>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;{</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;tomato&quot;</span>, <span class="stringliteral">&quot;tomate&quot;</span>);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;tomato&quot;</span>, <span class="stringliteral">&quot;patate&quot;</span>);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    std::vector&lt;std::string&gt; original;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    original.push_back(<span class="stringliteral">&quot;tomate&quot;</span>);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    original.push_back(<span class="stringliteral">&quot;patate&quot;</span>);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    ASSERT_TRUE(original == d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">traduit</a>(<span class="stringliteral">&quot;tomato&quot;</span>));</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a0912cee29c757ad7ea3456c7ea6d3a0e"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">TP2P1::Dictionnaire::traduit</a></div><div class="ttdeci">std::vector&lt; std::string &gt; traduit(const std::string &amp;mot)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00283">Dictionnaire.cpp:283</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a2fe841290d727a217fb884825bb736b7"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">TP2P1::Dictionnaire::ajouteMot</a></div><div class="ttdeci">void ajouteMot(const std::string &amp;motOriginal, const std::string &amp;motTraduit)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00121">Dictionnaire.cpp:121</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a0c97764f3ff722725d4abd420bf31e84_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a0c97764f3ff722725d4abd420bf31e84_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a0c97764f3ff722725d4abd420bf31e84_cgraph" id="_dictionnaire_testeur_deux_8cpp_a0c97764f3ff722725d4abd420bf31e84_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5549d8958d27b3148de3f9a50686e17b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">traduit_motEstDansLeDictionnaire_PlusieursMotsDansLeDictionnaire_uneTraductions&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00130">130</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00121">TP2P1::Dictionnaire::ajouteMot()</a>, et <a class="el" href="_dictionnaire_8cpp_source.html#l00283">TP2P1::Dictionnaire::traduit()</a>.</p>
<div class="fragment"><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;{</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;tomato&quot;</span>, <span class="stringliteral">&quot;tomate&quot;</span>);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;car&quot;</span>, <span class="stringliteral">&quot;auto&quot;</span>);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;english&quot;</span>, <span class="stringliteral">&quot;anglais&quot;</span>);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;red&quot;</span>, <span class="stringliteral">&quot;rouge&quot;</span>);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;green&quot;</span>, <span class="stringliteral">&quot;vert&quot;</span>);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;blue&quot;</span>, <span class="stringliteral">&quot;bleu&quot;</span>);</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;purple&quot;</span>, <span class="stringliteral">&quot;mauve&quot;</span>);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;black&quot;</span>, <span class="stringliteral">&quot;noir&quot;</span>);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;thief&quot;</span>, <span class="stringliteral">&quot;voleur&quot;</span>);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;shirt&quot;</span>, <span class="stringliteral">&quot;chandail&quot;</span>);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;arrow&quot;</span>, <span class="stringliteral">&quot;fleche&quot;</span>);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;cat&quot;</span>, <span class="stringliteral">&quot;chat&quot;</span>);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    ASSERT_TRUE(<span class="stringliteral">&quot;tomate&quot;</span> == d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">traduit</a>(<span class="stringliteral">&quot;tomato&quot;</span>)[0]);</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    ASSERT_TRUE(<span class="stringliteral">&quot;mauve&quot;</span> == d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">traduit</a>(<span class="stringliteral">&quot;purple&quot;</span>)[0]);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a0912cee29c757ad7ea3456c7ea6d3a0e"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">TP2P1::Dictionnaire::traduit</a></div><div class="ttdeci">std::vector&lt; std::string &gt; traduit(const std::string &amp;mot)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00283">Dictionnaire.cpp:283</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a2fe841290d727a217fb884825bb736b7"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">TP2P1::Dictionnaire::ajouteMot</a></div><div class="ttdeci">void ajouteMot(const std::string &amp;motOriginal, const std::string &amp;motTraduit)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00121">Dictionnaire.cpp:121</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a5549d8958d27b3148de3f9a50686e17b_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a5549d8958d27b3148de3f9a50686e17b_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a5549d8958d27b3148de3f9a50686e17b_cgraph" id="_dictionnaire_testeur_deux_8cpp_a5549d8958d27b3148de3f9a50686e17b_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a62583bd3d72f3ea12c7763abccaea7cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">traduit_motNestPasDansLeDictionnaire_DictionnaireVide_vecteurVide&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00149">149</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00283">TP2P1::Dictionnaire::traduit()</a>.</p>
<div class="fragment"><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;{</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    ASSERT_TRUE(d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">traduit</a>(<span class="stringliteral">&quot;tomato&quot;</span>).size()==0);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a0912cee29c757ad7ea3456c7ea6d3a0e"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">TP2P1::Dictionnaire::traduit</a></div><div class="ttdeci">std::vector&lt; std::string &gt; traduit(const std::string &amp;mot)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00283">Dictionnaire.cpp:283</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a62583bd3d72f3ea12c7763abccaea7cd_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a62583bd3d72f3ea12c7763abccaea7cd_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a62583bd3d72f3ea12c7763abccaea7cd_cgraph" id="_dictionnaire_testeur_deux_8cpp_a62583bd3d72f3ea12c7763abccaea7cd_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7921c7490903163f5dd1fd151492bc82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">traduit_motNestPasDansLeDictionnaire_DictionnaireAvecElements_vecteurVide&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00155">155</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00121">TP2P1::Dictionnaire::ajouteMot()</a>, et <a class="el" href="_dictionnaire_8cpp_source.html#l00283">TP2P1::Dictionnaire::traduit()</a>.</p>
<div class="fragment"><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;{</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">ajouteMot</a>(<span class="stringliteral">&quot;tomato&quot;</span>, <span class="stringliteral">&quot;tomate&quot;</span>);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    ASSERT_TRUE(d.<a class="code" href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">traduit</a>(<span class="stringliteral">&quot;potato&quot;</span>).size()==0);</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a0912cee29c757ad7ea3456c7ea6d3a0e"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a0912cee29c757ad7ea3456c7ea6d3a0e">TP2P1::Dictionnaire::traduit</a></div><div class="ttdeci">std::vector&lt; std::string &gt; traduit(const std::string &amp;mot)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00283">Dictionnaire.cpp:283</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html_a2fe841290d727a217fb884825bb736b7"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html#a2fe841290d727a217fb884825bb736b7">TP2P1::Dictionnaire::ajouteMot</a></div><div class="ttdeci">void ajouteMot(const std::string &amp;motOriginal, const std::string &amp;motTraduit)</div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8cpp_source.html#l00121">Dictionnaire.cpp:121</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a7921c7490903163f5dd1fd151492bc82_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a7921c7490903163f5dd1fd151492bc82_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a7921c7490903163f5dd1fd151492bc82_cgraph" id="_dictionnaire_testeur_deux_8cpp_a7921c7490903163f5dd1fd151492bc82_cgraph">
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a48c74678a712c7ca618c4772228d454f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">traductionDuDictionnaireInitialise&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Définition à la ligne <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html#l00162">162</a> du fichier <a class="el" href="_dictionnaire_testeur_deux_8cpp_source.html">DictionnaireTesteurDeux.cpp</a>.</p>

<p>Références <a class="el" href="_dictionnaire_8cpp_source.html#l00283">TP2P1::Dictionnaire::traduit()</a>.</p>
<div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;{</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    ifstream fichierDictionnaire (<span class="stringliteral">&quot;EnglishFrenchLinux.txt&quot;</span>, ios::in);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <a class="code" href="class_t_p2_p1_1_1_dictionnaire.html">Dictionnaire</a> d(fichierDictionnaire);</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    std::vector&lt;std::string&gt; traductions = d.traduit(<span class="stringliteral">&quot;thief&quot;</span>);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keywordflow">for</span>(std::vector&lt;std::string&gt;::iterator it = traductions.begin(); it!=traductions.end(); it++)</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    {</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        cout&lt;&lt;*it&lt;&lt;endl;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    }</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">//  d.afficherSymetrique();</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;}</div>
<div class="ttc" id="class_t_p2_p1_1_1_dictionnaire_html"><div class="ttname"><a href="class_t_p2_p1_1_1_dictionnaire.html">TP2P1::Dictionnaire</a></div><div class="ttdoc">classe reprÃ©sentant un dictionnaire </div><div class="ttdef"><b>Definition:</b> <a href="_dictionnaire_8h_source.html#l00029">Dictionnaire.h:29</a></div></div>
</div><!-- fragment -->
<p><div class="dynheader">
Voici le graphe d'appel pour cette fonction :</div>
<div class="dyncontent">
<div class="center"><img src="_dictionnaire_testeur_deux_8cpp_a48c74678a712c7ca618c4772228d454f_cgraph.png" border="0" usemap="#_dictionnaire_testeur_deux_8cpp_a48c74678a712c7ca618c4772228d454f_cgraph" alt=""/></div>
<map name="_dictionnaire_testeur_deux_8cpp_a48c74678a712c7ca618c4772228d454f_cgraph" id="_dictionnaire_testeur_deux_8cpp_a48c74678a712c7ca618c4772228d454f_cgraph">
</map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_dictionnaire_testeur_deux_8cpp.html">DictionnaireTesteurDeux.cpp</a></li>
    <li class="footer">Généré le Lundi 30 Juin 2014 21:11:43 pour TP2-Partie1Dictionnaire par
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
